CC = gcc
# CFLAGS = -g -O0
CFLAGS = -O0

TestSearchForAdjacenyMatrix: TestSearchForAdjacenyMatrix.c
	$(CC) $(CFLAGS) -o $@ $^

TestTwoColorabilityForAdjacenyMatrix: TestTwoColorabilityForAdjacenyMatrix.c
	$(CC) $(CFLAGS) -o $@ $^

TestDFSTrace: TestDFSTrace.c
	$(CC) $(CFLAGS) -o $@ $^

TestDFSForAdjacenyMatrix: TestDFSForAdjacenyMatrix.c
	$(CC) $(CFLAGS) -o $@ $^

TestDFSForAdjacencyLists: TestDFSForAdjacencyLists.c
	$(CC) $(CFLAGS) -o $@ $^

TestCycleDetectionForAdjacencyLists: TestCycleDetectionForAdjacencyLists.c
	$(CC) $(CFLAGS) -o $@ $^

TestCycleDetectionForAdjacencyMatrix: TestCycleDetectionForAdjacencyMatrix.c
	$(CC) $(CFLAGS) -o $@ $^

TestSimplePathForAdjacenyMatrix: TestSimplePathForAdjacenyMatrix.c
	$(CC) $(CFLAGS) -o $@ $^

TestSimpleConnectivityForAdjacencyLists: TestSimpleConnectivityForAdjacencyLists.c
	$(CC) $(CFLAGS) -o $@ $^

TestBFSAlgorithmsForAdjacenyMatrix: TestBFSAlgorithmsForAdjacenyMatrix.c ../../includes/ListQUEUE.c
	$(CC) $(CFLAGS) -o $@ $^

clean:
	rm -f TestSimpleConnectivityForAdjacencyLists TestSimplePathForAdjacenyMatrix TestCycleDetectionForAdjacencyLists TestCycleDetectionForAdjacencyMatrix TestSearchForAdjacenyMatrix TestTwoColorabilityForAdjacenyMatrix TestDFSTrace TestDFSForAdjacenyMatrix TestDFSForAdjacencyLists TestBFSAlgorithmsForAdjacenyMatrix